import json

from config import DASE_DIR


def read_json_data(filename):
    with open(DASE_DIR + "/data/" + filename, "r", encoding="utf8") as f:
        json_data = json.load(f)
        list_data = []

        for dict1 in json_data:
            list_data.append(tuple(dict1.values()))

        return list_data


if __name__ == '__main__':
    ret = read_json_data("login_data.json")
    print(ret)
